*Data preparation


*Selection of countries and elections, recoding of variables

run 01a_Recoding_cses2.do

run 01b_Recoding_cses3.do

run 01c_Recoding_cses4.do


*Merge the three recoded datasets 

use cses2_rec, clear
append using cses3_rec
append using cses4_rec

save cses2to4_40cases, replace 

use cses2to4_40cases, clear
drop if cntelec=="AUT_2013"
drop if cntelec=="GRC_2012"
save cses2to4_38cases, replace 










